package com.bzframework.example.cloud.inventory;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author bingzhong
 * @Date 2025/10/25
 */
@SpringBootApplication(
        exclude = {
                DataSourceAutoConfiguration.class
        },
        scanBasePackages = {
        "com.bzframework.core.response.advice",
        "com.bzframework.**.web"
})
@EnableFeignClients(basePackages = "com.bzframework.example.cloud.api")
@EnableDiscoveryClient
public class InventoryServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(InventoryServiceApplication.class, args);
    }

}
